<template>
	<view class="container">
		<uni-forms :modelValue="form" label-width='200rpx'>

			<uni-forms-item label="工作行业" name="business">
				<uni-data-select v-model="form.business" :localdata="business" placeholder="请输入工作行业"></uni-data-select>
			</uni-forms-item>
			<uni-forms-item label="工作年限" name="length">
				<uni-easyinput type="number" v-model="form.length" placeholder="请输入工作年限"></uni-easyinput>
			</uni-forms-item>
			<uni-forms-item label="申领金额" name="amount">
				<uni-easyinput type="number" v-model="form.amount" placeholder="请输入申领金额"></uni-easyinput>
			</uni-forms-item>

		</uni-forms>
		<view class="tip">
			<uni-icons type="help" size="20"></uni-icons>
			<text style="font-size: 12px;">
				【{{currentSyr.name}}】从事某项（且应为【工作行业】）全职工作累计满【{{form.length || '工作年限'}}】年，经向受托人提供经受托人认可的可以证明【{{currentSyr.name}}】符合前述申领条件的证明材料后，【{{currentSyr.name}}】可一次性申领不超过【{{form.amount || '申领金额'}}】万元的职业发展支持金。职业发展支持金仅限申领一次。如无需填写，则选择跳过。
			</text>
		</view>
		<view class="bottom" style="display: flex;justify-content: center">
			<button class="button" type="primary" @click="jump(209)">跳过</button>
			<button class="button" type="primary" @click="submit">下一步</button>
		</view>
	</view>
</template>

<script>
	import variables from '@/static/js/variables.js'
	import userInfoMixin from "../../common/js/userInfoMixin";

	export default {
    mixins: [userInfoMixin],
		data() {
			return {
        name: '208',
        form: {
					business: '',
					length: '',
					amount: ''
				},
				business: [],
			}
		},
		created() {
			this.business = variables.business
		},
		methods: {

			change() {

			},
			submit() {
				this.submitData({
					key: 'zyfzzcj',
					data: this.form
				}, '209')

			},
		}
	}
</script>

<style>

</style>
